package cn.edu.seu.cose.qol.model.dto.question;

public class AddressableQuestionBaseAdapter
		implements Adapter<AddressableQuestionBaseInstance,QuestionBaseInstance> {

	@Override
	public AddressableQuestionBaseInstance adapt(QuestionBaseInstance adaptee) {
		String baseName = adaptee.getName();
		AddressableQuestionBaseInstance briefQuestionBase = new AddressableQuestionBaseInstance(baseName);
		return briefQuestionBase;
	}

}
